#ifndef SHADERCLASS
#define SHADERCLASS
#include <GL/glew.h>		//Handles extension loading for Windows

///A shader class to hold shader source and OpenGL generated IDs 
class Shader
{
public:
	Shader();
	~Shader();
	///Loads the entire file into source
	void loadFromFile(const std::string& filename, GLenum type);
	///returns a reference to the source string
	std::string& getSource();
	///returns the OpenGL Shader ID
	unsigned int getID();
private:
	std::string source;
	unsigned int ID; 
};

#endif